import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

// https://vitejs.dev/config/
export default defineConfig({
  css: {
    preprocessorOptions: {
      less: {
        javscriptEnabled: true,
        modifyVars: {
          hack: `true; @import "./src/style.less";`
        }
      }
    },
  },
  plugins: [vue()],
})
